package com.card323.crpg.battle.buff;

import java.util.ArrayList;

import com.card323.crpg.Hero;
import com.card323.crpg.battle.Timing;
import com.card323.crpg.skill.Skill;
import com.card323.crpg.skill.battle.BattleEventHandler;

public class Buff {
	
	public Hero _hero;
	public Skill _host_skill;
	
	public int _time;
	public int _dmg_fix;
	
	public ArrayList<BattleEventHandler> _battle_event_handlers=new ArrayList<BattleEventHandler>();

	public Timing _trigger;
	
	public Buff(Skill host)
	{
		_host_skill=host;
		_time=Integer.MAX_VALUE;
	}
	public void add_battle_listener(Timing trigger, BattleEventHandler battleEventHandler) {
		_trigger=trigger;
		_battle_event_handlers.add(battleEventHandler);
		
	}
}
